<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>圆角边框及阴影</title>
    <style>
        /* div{
            width: 100px;
            height: 100px;
            border: 1px solid red;
            border-radius: 100px;
            box-shadow:10px 10px 1px yellow;
        } */
        .father{
            width: 300px;
            height: 300px;
            border: 2px solid red;
            padding: 20px;
        }
        a{
            width: 100px;
            height: 100px;
            background-color: rgb(238, 186, 181);
            display: block;
            text-align: center;
            line-height: 100px;
            text-decoration: none;/*清除字体样式 */
            /* border: 1px solid black; */
        }
        a:hover{
            background-color: rgb(97, 75, 245);
        }
        .a2,.a4{
            position: relative;
            left: 200px;
            top: -100px;
        }
        .a5{
            position: relative;
            left: 100px;
            top: -300px;
        }
    </style>
</head>
<body>
    <div class="1"></div>
    <div class="father">
        <a href="" class="a1">连接1</a>
        <a href="" class="a2">连接2</a>
        <a href="" class="a3">连接3</a>
        <a href="" class="a4">连接4</a>
        <a href="" class="a5">连接5</a>
    </div>
</body>
</html>